package io.renren.modules.dictionary.service;

import io.renren.modules.dictionary.entity.DictypesEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-17 14:15:28
 */
public interface DictypesService {
	
	DictypesEntity queryObject(Integer dictypeid);
	
	List<DictypesEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(DictypesEntity dictypes);
	
	void update(DictypesEntity dictypes);
	
	void delete(Integer dictypeid);
	
	void deleteBatch(Integer[] dictypeids);

	List<DictypesEntity> queryTypeNames();
}
